const NAME = 'formItem';

export default {
    name: NAME,
    formCreateParser: {
        mergeProp(ctx) {
            const props = ctx.prop.props;
            if (!props.nodeKey) props.nodeKey = 'id';
            if (!props.props) props.props = {
                label: 'title'
            };
        }
    },
    props: {
        formCreateInject: {
            type: Object,
            required: true,
        }
    },
    data(){
        return{

        }
    },
    watch: {

    },
    methods: {

    },
    render() {
        return (
            <el-form-item>
            </el-form-item>
        );
    },
    mounted() {

    }
}
